				<?php if($action=='list_account' || $action=='acc_detail'){?>
				<h1>Tài khoản</h1>
				<a href="<?=base_url('account?type=0')?>"><h3>Khách hàng</h3></a>
				<a href="<?=base_url('account?type=1')?>"><h3>Cửa hàng</h3></a>
				<?php 	}
				?>

				
				<?php if($action=='list_main_category' || $action=='category_detail'){?>
				<h1>Cài đặt</h1>
				<a href="<?=base_url('setting')?>"><h3>Danh mục chính</h3></a>
				<?php 
				foreach ($list_main_category as $value){
				?>
					<div class="sLink"><a href="<?=base_url('setting/category_detail?cid='.$value['id'])?>">- <?=$value['nameVN']?></a></div>
				<?php 
						
						}
					
					}
				?>
				
				<?php if($action=='list_order' || $action=='order_detail'){?>
				<h1>Đơn hàng</h1>
				<div class="sLink"><a href="<?=base_url('order?type=0')?>" style="<?php if(isset($_REQUEST['type']) && $_REQUEST['type']==0) echo 'font-weight: bold;'; ?>">- Đơn hàng mới (<?=$lorder[0]?>)</a></div>
				<div class="sLink"><a href="<?=base_url('order?type=1')?>" style="<?php if(isset($_REQUEST['type']) && $_REQUEST['type']==1) echo 'font-weight: bold;'; ?>">- Đơn hàng xác nhận (<?=$lorder[1]?>)</a></div>
				<div class="sLink"><a href="<?=base_url('order?type=2')?>" style="<?php if(isset($_REQUEST['type']) && $_REQUEST['type']==2) echo 'font-weight: bold;'; ?>">- Đơn hàng vận chuyển (<?=$lorder[2]?>)</a></div>
				<div class="sLink"><a href="<?=base_url('order?type=3')?>" style="<?php if(isset($_REQUEST['type']) && $_REQUEST['type']==3) echo 'font-weight: bold;'; ?>">- Đơn hàng thanh toán (<?=$lorder[3]?>)</a></div>
				<div class="sLink"><a href="<?=base_url('order?type=-1')?>" style="<?php if(isset($_REQUEST['type']) && $_REQUEST['type']==-1) echo 'font-weight: bold;'; ?>">- Đơn hàng bị hủy (<?=$lorder[-1]?>)</a></div>
				<?php 
					}
				?>
				
				<?php if($action=='list_deal' || $action=='add_deal' || $action=='edit_deal'){?>
				<h1>Danh mục</h1>
				<a href="<?=base_url('add_deal')?>"><h3>Thêm Deal</h3></a>
				<?php foreach ($list_category as $value){
					if($value['id_parent']==0){
				?>
				<a href="<?=base_url('listdeal?cid='.$value['id'])?>"><h3><?=$value['nameVN']?></h3></a>
					<?php foreach ($list_category as $value1){
					if($value1['id_parent']==$value['id']){
					?>
					<div class="sLink"><a href="<?=base_url('listdeal?cid='.$value1['id'])?>">- <?=$value1['nameVN']?></a></div>
					<?php }
					}?>
					
				<?php }
				}
				
					
					}
				?>
			
			